package com.codinghero.tiyutupian.spider.job;

import java.util.List;

import com.codinghero.tiyutupian.spider.HuabanSpider;
import com.codinghero.tiyutupian.spider.dto.HuabanPage;

public class HuabanSpiderJob {
	public static void main(String[] args) {
		HuabanSpider spider = new HuabanSpider();
		List<HuabanPage> pages = spider.execute("huaban.com/pins/9416317/");
		for (HuabanPage page : pages) {
			System.out.println(page.getTinyImgUrl());
			System.out.println(page.getSmallImgUrl());
			System.out.println(page.getMidImgUrl());
			System.out.println(page.getLargeImgUrl());
		}
	}
}
